package com.lxw.nonghe.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lxw.nonghe.entity.Family;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 家庭档案表 Mapper 接口
 * </p>
 *
 * @author lxw
 * @since 2025-04-17
 */
@Mapper
public interface FamilyMapper extends BaseMapper<Family> {
    IPage<Family> selectFamilyPage(Page<Family> page, 
        @Param("householder") String householder,
        @Param("address") String address,
        @Param("registrar") String registrar,
        @Param("population") Integer population,
        @Param("agriculturalPopulation") Integer agriculturalPopulation);
}
